#include <driver/i2s.h>

#define I2S_SAMPLE_RATE   16000
#define I2S_SAMPLE_BITS   16  
#define I2S_CHANNEL       I2S_CHANNEL_FMT_ONLY_LEFT
#define I2S_PORT          I2S_NUM_0

#define PIN_I2S_BCLK  2  // INMP441 SCK
#define PIN_I2S_LRC   1  // INMP441 WS
#define PIN_I2S_DIN   0  // INMP441 SD

void inmp441_init();
size_t inmp441_listen(int16_t* buff, size_t buff_size_bytes);